package com.producteev4j.model.json.task;

import com.producteev4j.model.response.BaseResponse;
import com.producteev4j.model.response.LabelWrapper;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;

/**
 * Created by IntelliJ IDEA.
 * User: jcarrey
 * Date: 22/05/11
 * Time: 18:58
 * To change this template use File | Settings | File Templates.
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class LabelWrapperImpl extends BaseResponse implements LabelWrapper {

    @JsonProperty("label")
    private LabelImpl label;

    public LabelImpl getLabel() {
        return label;
    }

    public void setLabel(LabelImpl label) {
        this.label = label;
    }

    @Override
    public String toString() {
        return new StringBuilder("LabelWrapperImpl{").append(
                "label=").append(label).append(
                '}').toString();
    }
}
